package com.tjlg.service.impl;

import com.tjlg.domain.Student;
import com.tjlg.mapper.StudentMapper;
import com.tjlg.service.StudentService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class StudentServiceImpl implements StudentService {
    @Autowired
    private StudentMapper studentMapper;
    @Override
    public Student selectByPrimaryKey(Integer userId) {
       Student student= studentMapper.selectByPrimaryKey(userId);
        return student;
    }
}
